const getters = {
    sidebar: state => state.app.sidebar,//侧边栏
    device: state => state.app.device,//设备
    token: state => state.user.token,//登录token
    avatar: state => state.user.avatar,//个人头像
    name: state => state.user.name,//用户名
    roles: state => state.user.roles,//用户角色
    companyId: state => state.user.companyId,//公司ID
    addRouters: state => state.permission.addRouters,//侧边菜单路由表
}
export default getters
